package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 每日付费任务表 charge_task
 * 
 * @author ruoyi
 * @date 2019-05-28
 */
public class ChargeTask extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 编号 */
	private Integer id;
	/** 分配的qq */
	private Integer qqId;
	/** 渠道编号 */
	private Integer channelId;
	/** 机位号 */
	private Integer clientId;
	/** QQ卡编号 */
	private Integer qqCardId;
	/** 付费额 */
	private Integer fee;
	/** 完成时间 */
	private Date finishTime;

	public Qq getQq() {
		if(qq == null){
			return new Qq();
		}
		return qq;
	}

	public void setQq(Qq qq) {
		this.qq = qq;
	}

	/** 状态 */
	private Integer status;
	private Qq qq;

	public Qqcards getQqcards() {
		if(qqcards ==  null)
			return  new Qqcards();
		return qqcards;
	}

	public void setQqcards(Qqcards qqcards) {
		this.qqcards = qqcards;
	}

	private Qqcards qqcards;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setQqId(Integer qqId) 
	{
		this.qqId = qqId;
	}

	public Integer getQqId() 
	{
		return qqId;
	}
	public void setChannelId(Integer channelId) 
	{
		this.channelId = channelId;
	}

	public Integer getChannelId() 
	{
		return channelId;
	}
	public void setClientId(Integer clientId) 
	{
		this.clientId = clientId;
	}

	public Integer getClientId() 
	{
		return clientId;
	}
	public void setQqCardId(Integer qqCardId) 
	{
		this.qqCardId = qqCardId;
	}

	public Integer getQqCardId() 
	{
		return qqCardId;
	}
	public void setFee(Integer fee) 
	{
		this.fee = fee;
	}

	public Integer getFee() 
	{
		return fee;
	}
	public void setFinishTime(Date finishTime) 
	{
		this.finishTime = finishTime;
	}

	public Date getFinishTime() 
	{
		return finishTime;
	}
	public void setStatus(Integer status) 
	{
		this.status = status;
	}

	public Integer getStatus() 
	{
		return status;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("qqId", getQqId())
            .append("channelId", getChannelId())
            .append("clientId", getClientId())
            .append("qqCardId", getQqCardId())
            .append("fee", getFee())
            .append("createTime", getCreateTime())
            .append("finishTime", getFinishTime())
            .append("status", getStatus())
            .toString();
    }
}
